<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3"/>
<title>Duye SDK User Wizard: duye::Buffer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Duye SDK User Wizard
   &#160;<span id="projectnumber">V1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>duye</b></li><li class="navelem"><a class="el" href="classduye_1_1_buffer.html">Buffer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classduye_1_1_buffer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">duye::Buffer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa131ce7db8cd1bc7d5a4a5cc0f84fe3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa131ce7db8cd1bc7d5a4a5cc0f84fe3f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Buffer</b> (const uint32 capacity)</td></tr>
<tr class="separator:aa131ce7db8cd1bc7d5a4a5cc0f84fe3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86d5c6b025283d4c255a5d2599460727"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86d5c6b025283d4c255a5d2599460727"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Buffer</b> (const int8 *data, const uint32 len)</td></tr>
<tr class="separator:a86d5c6b025283d4c255a5d2599460727"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3db1765f442d6b1fd481a778025b7de"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3db1765f442d6b1fd481a778025b7de"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Buffer</b> (const <a class="el" href="classduye_1_1_buffer.html">Buffer</a> &amp;buffer)</td></tr>
<tr class="separator:ad3db1765f442d6b1fd481a778025b7de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b3dad7b7d25ad7004f944a3cea40b79"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b3dad7b7d25ad7004f944a3cea40b79"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>resize</b> (const uint32 capacity)</td></tr>
<tr class="separator:a7b3dad7b7d25ad7004f944a3cea40b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60e6fc1eb1d8f31be512aed8a0e4358a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60e6fc1eb1d8f31be512aed8a0e4358a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>append</b> (const int8 *data, const uint32 len)</td></tr>
<tr class="separator:a60e6fc1eb1d8f31be512aed8a0e4358a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68441d9f2e8527a91de87f6a4ac4697d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68441d9f2e8527a91de87f6a4ac4697d"></a>
int8 *&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> ()</td></tr>
<tr class="separator:a68441d9f2e8527a91de87f6a4ac4697d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92619b19b490607cf316af6f4d317dc9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92619b19b490607cf316af6f4d317dc9"></a>
int8 *&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> () const </td></tr>
<tr class="separator:a92619b19b490607cf316af6f4d317dc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2338322f215f6d54d25651da32e9d92"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2338322f215f6d54d25651da32e9d92"></a>
uint32&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> ()</td></tr>
<tr class="separator:ad2338322f215f6d54d25651da32e9d92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d346a9a94051a6b4657e20a12842841"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d346a9a94051a6b4657e20a12842841"></a>
uint32&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
<tr class="separator:a1d346a9a94051a6b4657e20a12842841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3eb9e74a85a347b249d60849043d3bbd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3eb9e74a85a347b249d60849043d3bbd"></a>
uint32&#160;</td><td class="memItemRight" valign="bottom"><b>capacity</b> ()</td></tr>
<tr class="separator:a3eb9e74a85a347b249d60849043d3bbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81ec22de32be6cb33d82a136323724a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81ec22de32be6cb33d82a136323724a2"></a>
uint32&#160;</td><td class="memItemRight" valign="bottom"><b>capacity</b> () const </td></tr>
<tr class="separator:a81ec22de32be6cb33d82a136323724a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa85928ac79231eacb7cd52d1194cd668"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa85928ac79231eacb7cd52d1194cd668"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> ()</td></tr>
<tr class="separator:aa85928ac79231eacb7cd52d1194cd668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25143874526a531c0f4c8a0956268600"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a25143874526a531c0f4c8a0956268600"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> () const </td></tr>
<tr class="separator:a25143874526a531c0f4c8a0956268600"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Z:/duye/src/duyebase/public/<a class="el" href="duye__buffer_8h_source.html">duye_buffer.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Feb 27 2017 15:19:17 for Duye SDK User Wizard by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3
</small></address>
</body>
</html>
